home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group00a.txt
/
000022_icon-group-sender _Thu Feb 3 17:43:29 2000.msg
< prev
next >
Wrap
Internet Message Format
|
2001-01-03
|
1KB
Return-Path: <icon-group-sender>
Received: (from root@localhost)
by baskerville.CS.Arizona.EDU (8.9.1a/8.9.1) id RAA15888
for icon-group-addresses; Thu, 3 Feb 2000 17:42:27 -0700 (MST)
Message-Id: <200002040042.RAA15888@baskerville.CS.Arizona.EDU>
From: Kostas Oikonomou <oikonomou@att.com>
Date: Thu, 3 Feb 2000 15:00:09 -0500 (EST)
To: icon-group@optima.CS.Arizona.EDU
Subject: calling a C routine from icont
Errors-To: icon-group-errors@optima.CS.Arizona.EDU
Status: RO
Is it possible to call a C routine for which you have only a header available,
and whose code exists only in a library (no source available)?
I've looked through the code in the cfuncs directory, and I'm not sure if what I
want is doable.
My situation is that I have an X library that does specialized plotting of data,
and I'd like to call some of its routines from my Icon program.
Some example routine headers are
void hs_initialize(char *id_string);
void hs_update(void);
void hs_complete(void);
void hs_complete_and_wait(void);
void hs_histoscope(int return_immediately);
void hs_kill_histoscope(void);
int hs_create_1d_hist(int uid, char *title, char *category,
char *x_label, char *y_label,
int n_bins, float min, float max);
Thanks very much.
Kostas